package org.jeecg.modules.monitoring.j_monitoring.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.monitoring.j_monitoring.entity.RingMonitor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 动环监控Mapper
 * @Author: xiaoyq
 * @Date:   2023-07-12
 * @Version: V1.0
 */
public interface RingMonitorMapper extends BaseMapper<RingMonitor> {
    /**
     * 插入动环监控
     * @param ringMonitor
     * @return
     */
    int insertSelective(RingMonitor ringMonitor);

    /**
     * 根据父ids查询动环监控列表
     * @param parentList
     * @return
     */
    List<RingMonitor> selectByParentIds(@Param("parentList") List<String> parentList);
}
